Skip to content

Test --apid values that are not hexadecimal - #220

Merged
namurphy merged 1 commit into
PlasmaPy:mainfrom
namurphy:test-apid-not-hexadecimal
Dec 1, 2026
Merged

namurphy merged 1 commit into
PlasmaPy:mainfrom
namurphy:test-apid-not-hexadecimal

Conversation

@namurphy

@namurphy namurphy commented Dec 1, 2026

Copy link
Copy Markdown
Member

Description

This PR tests that an --apid that is not hexadecimal is a usage error of pfc_decommutator.

Motivation

The error was not tested.

Details

  • The task in TODO.md also covered --stcorrect, which is not tested here, so the task is narrowed to that option rather than removed.
  • nox -s tests-3.13 tests-3.14 and linting pass.

🤖 Generated with Claude Code

The usage error was not tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.86%. Comparing base (7c95c9d) to head (0c705de).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #220      +/-   ##
==========================================
+ Coverage   90.81%   90.86%   +0.04%     
==========================================
  Files          57       57              
  Lines        4344     4344              
  Branches      432      432              
==========================================
+ Hits         3945     3947       +2     
+ Misses        329      327       -2     
  Partials       70       70              

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@namurphy
namurphy merged commit d3aa2a5 into PlasmaPy:main Dec 1, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant